package com.crm.commons;

import lombok.*;

/**
 * @author junxian.dou
 * @Package：com.crm.commons
 * @Project：springboot-crm
 * @name：DataEnum
 * @Date：2024/11/25 11:53
 * @Filename：DataEnum
 * @verson 1.0.0
 * @desc
 */
public enum DataEnum {

    NORMAL("1","正常"),
    DEACTIVATE("0","停用")
    ;
    private String code;
    private String desc;

    DataEnum(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
